﻿  ﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

namespace SecondLevelCaching.Data
{
    public interface IDbContext
    {
        IEnumerable<TElement> SqlQuery<TElement>(string sql, params object[] parameters);
        IQueryable<T> Table<T>() where T : class;

        int SaveChanges();
    }
}